package cn.springmvc.mapper;

import cn.springmvc.model.SysRole;
import cn.springmvc.model.SysRoleCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName: SysRoleMapper <br/>
 * Function: 角色. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2016年6月8日 下午4:31:28 <br/>
 *
 * @author i1093108915@yeah.net
 * @version 
 * @since JDK 1.6
 */
public interface SysRoleMapper {
    int countByExample(SysRoleCriteria example);

    int deleteByExample(SysRoleCriteria example);

    int deleteByPrimaryKey(String sid);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    List<SysRole> selectByExample(SysRoleCriteria example);

    SysRole selectByPrimaryKey(String sid);

    int updateByExampleSelective(@Param("record") SysRole record, @Param("example") SysRoleCriteria example);

    int updateByExample(@Param("record") SysRole record, @Param("example") SysRoleCriteria example);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);
}